package com.wangxue.stock.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wangxue
 * @ProjectName com.wangxue.stock.common.domain
 * @Description 股票常量数据封装
 * @time 2022/5/20 15:07
 */
@Data
@ConfigurationProperties(prefix = "stock")
//@Configuration
//@Component(value = "infoConfig")
public class StockInfoConfig {
    //a股大盘ID集合
    private List<String> inner;
    //外盘id集合
    private List<String> outer;
    //股票区间
    private List<String> upDownRange;
    //大盘参数获取url
    private String marketUrl;
    //版块参数获取url
    private String blockUrl;
}
